package com.ymk.core.constants;

import java.math.BigDecimal;

/**
 * Created by laborc on 2018/7/14.
 */
public class SysConstants {

    /**
     * redis key
     */
    public final static String REDIS_KEY_JWT = "mall-jwt:";
    public final static String REDIS_KEY_GOODS = "mall-goods:";
    public final static String REDIS_KEY_GOODS_CAT = "mall-goods-cat:";

    /**
     * 环境
     */
    public static String SERVER_ENV = "";
    public final static String SERVER_ENV_DEV = "dev";
    public final static String SERVER_ENV_TEST = "test";
    public final static String SERVER_ENV_PROD = "prod";

    /**
     * 接口来源
     */
    public final static String CMD_MOP_SCOPE = "mop";
    public final static String CMD_SERVER_SCOPE = "server";
    public final static String CMD_STORE_SCOPE = "store";
    public final static String CMD_SOP_SCOPE = "sop";

    /**
     * 订单 前缀
     */
    public final static String ORDER_PREFIX = "XE";
    public final static String PAY_PREFIX = "PX";
    /**
     * 邀请码前缀
     */
    public final static String INVITE_PREFIX = "BX";

    public static final Integer YES = 1;
    public static final Integer NO = 0;

    public static final String DEFAULT_ADMIN_TOKEN = "SG99999";

}
